package com.mbinno.android.comm;

import android.app.Application;
import android.content.Context;

import com.mbinno.android.comm.device.AppEnvManager;


/**
 * 先初始化  InnoComm .getInstance().init(this.application)
 *
 */
public class InnoComm implements IInnoComm {

    private static final InnoComm comm = new InnoComm();


    private Application context;
    private AppEnvManager repository;

    @Override
    public void init(Application context) {
        this.context = context;
        repository = new AppEnvManager(this.context);
    }

    public static IInnoComm getInstance() {
        return comm;
    }

    public Context getContext() {
        return context;
    }

    @Override
    public String getFingerPrintId() {
        return repository.getFingerPrintId();
    }


}
